package com.chenhao.springcloud.chenhaonacosuser.service;


import com.chenhao.springcloud.chenhaonacosuser.pojo.User;

import java.util.List;

/**
 *
 * @return
 * @author chenhao
 *
 * @date 2020/4/23 9:44
 */
public interface UserService {

    void insert(User user);

    User getUser(Long id);

    void update(User user);

    void delete(Long id);

    User getByUsername(String username);

    List<User> listUsersByIds(List <Long> ids);

}
